package com.songshan.dao;

import com.songshan.bean.Role;
import com.songshan.bean.User;
import java.util.List;
import java.util.Map;

public interface RoleMapper {

  List<Role> selectRoleWithPage(Map<String, Object> param);

  Role selectRoleByCode(String code);

  Role selectRoleById(int id);

  void insertRole(Role role);

  void updateRole(Role role);

  void deleteRoleById(int id);
}
